/*
 * Alexey Danchuk
 * This software is an implementation of the task from OOP module.
 */

/**
 * This class describes diverse question type.
 *
 * @version 1.01 30 January 2013
 * @author Alexey Danchuk
 */
class DiverseQuestion extends Question {
	/**
	 * This variable holds the correct answer to the question.
	 */
	private String[] correctAnswers;

	public DiverseQuestion(String questionText, String[] ansersText,
			               String[] coorectAnsers) {
		super(questionText, ansersText);
		saveAnswer(coorectAnsers);
	}

	@Override
	protected int chekAnswer(String[] userAnswers) {
		/* Some cool comparison algorithm for DiverseQuestion. */
		return 0;
	}

	@Override
	protected void saveAnswer(String[] answer) {
		correctAnswers = answer;
	}

}
